package com.ourteam.system.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:19
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseSysUserDepartmentRelateDAO extends IDataAccessInterface<SysUserDepartmentRelate, SysUserDepartmentRelateDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "SYS_USER_DEPARTMENT_RELATE";

    /**
     * Mapped Field ID
    */
    static final String Id = "SYS_USER_DEPARTMENT_RELATE.ID";

    /**
     * Mapped Field SYS_USER_ID
    */
    static final String SysUserId = "SYS_USER_DEPARTMENT_RELATE.SYS_USER_ID";

    /**
     * Mapped Field SYS_DEPARTMENT_ID
    */
    static final String SysDepartmentId = "SYS_USER_DEPARTMENT_RELATE.SYS_DEPARTMENT_ID";

    /**
     * Mapped Field DEPARTMENT_ROLE
    */
    static final String DepartmentRole = "SYS_USER_DEPARTMENT_RELATE.DEPARTMENT_ROLE";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "SYS_USER_DEPARTMENT_RELATE.STATUS";

    /**
     * Mapped Attribute sysUserName
    */
    static final String SysUserName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserName,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "SYS_USER.");

    /**
     * Mapped Attribute sysUserAccount
    */
    static final String SysUserAccount = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserAccount,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "SYS_USER.");

    /**
     * Mapped Attribute sysUserRemarks
    */
    static final String SysUserRemarks = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.Remarks,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "SYS_USER.");

    /**
     * Mapped Attribute sysUserStatus
    */
    static final String SysUserStatus = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.Status,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "SYS_USER.");

    /**
     * Mapped Attribute sysUserMobilePhone
    */
    static final String SysUserMobilePhone = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserMobilePhone,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "SYS_USER.");

    /**
     * Mapped Attribute departmentName
    */
    static final String DepartmentName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysDepartmentDAO.DepartmentName,
            com.ourteam.system.dao.ISysDepartmentDAO.EntityName + ".",
            "SYS_DEPARTMENT.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    SysUserDepartmentRelate findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute sysUserRemarks
         */
        static final String SysUserRemarks = "sysUserRemarks";

        /**
         * Attribute sysUserStatus
         */
        static final String SysUserStatus = "sysUserStatus";

        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute sysUserId
         */
        static final String SysUserId = "sysUserId";

        /**
         * Attribute sysDepartmentId
         */
        static final String SysDepartmentId = "sysDepartmentId";

        /**
         * Attribute departmentRole
         */
        static final String DepartmentRole = "departmentRole";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute sysUserName
         */
        static final String SysUserName = "sysUserName";

        /**
         * Attribute sysUserAccount
         */
        static final String SysUserAccount = "sysUserAccount";

        /**
         * Attribute departmentName
         */
        static final String DepartmentName = "departmentName";

        /**
         * Attribute sysUserMobilePhone
         */
        static final String SysUserMobilePhone = "sysUserMobilePhone";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
